package com.ruoyi.driver.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 【请填写功能名称】对象 dv_driver
 * 
 * @author ruoyi
 * @date 2024-07-03
 */
public class DvDriver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 司机ID */
    private Long id;

    /** 司机名称 */
    @Excel(name = "司机名称")
    private String driverName;

    /** 司机身份证 */
    @Excel(name = "司机身份证")
    private String driverCard;

    /** 司机状态(0:默认,1:听单,2:抢单, 3:接单) */
    @Excel(name = "司机状态(0:默认,1:听单,2:抢单, 3:接单)")
    private Long driverStatus;

    /** 司机星级 */
    @Excel(name = "司机星级")
    private String driverFalg;

    /** 司机性别 */
    @Excel(name = "司机性别")
    private String driverSex;

    /** 司机入驻日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "司机入驻日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enterStart;

    /** 司机余额 */
    @Excel(name = "司机余额")
    private BigDecimal driverMoney;

    /** 司机在线时长 */
    @Excel(name = "司机在线时长")
    private Long driverTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDriverName(String driverName) 
    {
        this.driverName = driverName;
    }

    public String getDriverName() 
    {
        return driverName;
    }
    public void setDriverCard(String driverCard) 
    {
        this.driverCard = driverCard;
    }

    public String getDriverCard() 
    {
        return driverCard;
    }
    public void setDriverStatus(Long driverStatus) 
    {
        this.driverStatus = driverStatus;
    }

    public Long getDriverStatus() 
    {
        return driverStatus;
    }
    public void setDriverFalg(String driverFalg) 
    {
        this.driverFalg = driverFalg;
    }

    public String getDriverFalg() 
    {
        return driverFalg;
    }
    public void setDriverSex(String driverSex) 
    {
        this.driverSex = driverSex;
    }

    public String getDriverSex() 
    {
        return driverSex;
    }
    public void setEnterStart(Date enterStart) 
    {
        this.enterStart = enterStart;
    }

    public Date getEnterStart() 
    {
        return enterStart;
    }
    public void setDriverMoney(BigDecimal driverMoney) 
    {
        this.driverMoney = driverMoney;
    }

    public BigDecimal getDriverMoney() 
    {
        return driverMoney;
    }
    public void setDriverTime(Long driverTime) 
    {
        this.driverTime = driverTime;
    }

    public Long getDriverTime() 
    {
        return driverTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("driverName", getDriverName())
            .append("driverCard", getDriverCard())
            .append("driverStatus", getDriverStatus())
            .append("driverFalg", getDriverFalg())
            .append("driverSex", getDriverSex())
            .append("enterStart", getEnterStart())
            .append("driverMoney", getDriverMoney())
            .append("driverTime", getDriverTime())
            .toString();
    }
}
